import uform.ui.comp.NumberControl;

class DemoControl 
{
	public static function main() 
	{
		var control = new NumberControl("mycontrol");
		
		control.min.set(1);
		control.max.set(10);
		
		trace(control.value.isNull());

		control.value.set(20); // constrained to 100
		trace(control.value.get());
		
		control.value.set(5);
		trace(control.value.get());
	}
}